Linux Journal August 2017 by Linux Journal

Linux Journal August 2017 by Linux Journal

Author:Linux Journal
Language: eng
Format: mobi, epub
Tags: Network, inotifywatch, Emacs, Internet, bunco, Android, Icecast, Events, systemd, vacation, Automation, Office 365, Liquidsoap, Microsoft Office, Google Inbox, Tips, Science, Linux Journal, Linux, utilities, Server, SysAdmin, scripts, inotifywait, Open Source, inotify, Radio Station, Servers, Ansible, SSH, filesystem, incron
Publisher: Belltown Media
Published: 2017-07-22T07:00:00+00:00


[webservers]

blogserver ansible_host=192.168.1.5

wikiserver ansible_host=192.168.1.10

[dbservers]

mysql_1 ansible_host=192.168.1.22

pgsql_1 ansible_host=192.168.1.23

The bracketed sections are specifying groups. Individual hosts can be listed in multiple groups, and Ansible can refer either to individual hosts or groups. This is also the configuration file where things like plain-text passwords would be stored, if that’s the sort of setup you’ve planned. Each line in the configuration file configures a single host, and you can add multiple declarations after the ansible_host statement. Some useful options are:

ansible_ssh_pass

ansible_become

ansible_become_method

ansible_become_user

ansible_become_pass



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.